/**
 * 景区系统入口
 */
var App = angular.module('trackafter', []);

App.config(require('./router'));

//service
App.factory('tourinsuranceService', require('./service'));
//Controllers

App.controller('tgrouplist', require('./controllers/tgrouplist')); //游团列表
App.controller('create', require('./controllers/create'));
App.controller('tpeoplelist', require('./controllers/tpeoplelist')); //游客列表
App.controller('createpeo', require('./controllers/createpeo'));//创建游客
App.controller('updatepeo', require('./controllers/updatepeo'));//修改游客
App.controller('updategroup', require('./controllers/updategroup'));//修改游团
App.controller('presettrajectory', require('./controllers/presettrajectory'));//查看预设轨迹
App.controller('practrcal', require('./controllers/practrcal'));//查看实际轨迹
App.controller('guidelist', require('./controllers/guidelist'));//导游列表页面
App.controller('selectguide', require('./controllers/selectguide'));//选择导游
App.controller('addguide', require('./controllers/addguide'));//选择导游
App.controller('alltrack', require('./controllers/alltrack'));//所有轨迹
App.controller('ytsjtj', require('./controllers/ytsjtj'));//游团数据统计

//directive
App.directive('creategroup', require('./directives/creategroup'));
App.directive('createpeople', require('./directives/createpeople'));


module.exports = App;